package core.util;

/**
 * @author songduk park
 * 
 */
public class StopWatch {

	private long start;
	private long end;

	public StopWatch() {
		this.start();
	}

	public void start() {
		this.start = System.currentTimeMillis();
	}

	public long end() {
		this.end = System.currentTimeMillis();

		return getElapse();
	}

	public long getElapse() {
		return end - start;
	}
}
